
module("NetWork.Action.ActivityMarqueeCast ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

ActivityMarqueeCast = NetCmdActionBase:new()

function ActivityMarqueeCast:Action(bytes)
    local ActivityMarqueeCast = require("Protol.activityMessage_pb").ActivityMarqueeCast()
    ActivityMarqueeCast:ParseFromString(bytes)

    local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
    local NewGameCJNoticeWin = UIWinMgr:GetWindow("NewGameCJNoticeWin")
    if NewGameCJNoticeWin.myContainerIsOpend then
        NewGameCJNoticeWin:SetMsg(ActivityMarqueeCast.msg)
    end
end

require("NetWork.NetCmdSet").CmdSet[2205] = ActivityMarqueeCast --注册处理对象